<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'AddBug.jsp' starting page</title>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="ueditor/ueditor.all.min.js"></script>

</head>

<body>
	<script type="text/plain" id="goodsInfo" name="goodsInfo"></script>
	<script type="text/javascript">
		var ue = UE.getEditor('goodsInfo', {
			toolbars : [ [ 'undo', //撤销
			'redo', //重做
			'selectall', //全选
			'bold', //加粗
			'fontfamily', //字体
			'fontsize', //字号
			'forecolor', //字体颜色
			'backcolor', //背景色
			'indent', //首行缩进
			'italic', //斜体
			'formatmatch', //格式刷
			'removeformat', //清除格式
			'pasteplain', //纯文本粘贴模式
			'touppercase', //字母大写
			'tolowercase', //字母小写
			'date', //日期
			'time', //时间
			'underline', //下划线
			'strikethrough', //删除线
			'subscript', //下标
			'justifyleft', //居左对齐
			'justifyright', //居右对齐
			'justifycenter', //居中对齐
			'justifyjustify', //两端对齐
			'insertorderedlist', //有序列表
			'insertunorderedlist', //无序列表
			'simpleupload', //单图上传
			'insertimage', //多图上传
			'cleardoc', //清空文档
			
			] ],
			initialFrameWidth : 700,//富文本宽度
			initialFrameHeight : 400,//富文本高度

		});
	</script>
</body>
</html>
